#include "s3c24xx.h"

#define GPG11_eint      (2<<(11*2))     // K1,EINT19
#define GPG3_eint       (2<<(3*2))      // K2,EINT11
#define GPF2_eint       (2<<(2*2))      // K3,EINT2
#define GPF0_eint       (2<<(0*2))      // K4,EINT0

void disable_watch_dog(void)
{
	WTCON = 0;
}

void init_led(void)
{
	GPFDAT = 0x00000070;

	GPFCON = 0x00001522;
	GPGCON = 0x00800080;
}

void init_irq( )
{
	EINTMASK = 0x00000000;        

	PRIORITY = (PRIORITY & ((~0x01) | (0x3<<7))) | (0x0 << 7) ;

	INTMSK &= (~(1<<0)) & (~(1<<2)) & (~(1<<5));
}
